class ChangeEntriesColumns < ActiveRecord::Migration
  def change
    remove_column :entries, :record_id
    remove_column :entries, :record_type
    remove_column :entries, :transact_id
    remove_column :entries, :transact_type

    add_column :entries,  :account_id,    :integer
    add_column :entries,  :account_type,  :string
    add_column :entries,  :income_id,     :integer
    add_column :entries,  :expense_id,    :integer
  end
end
